const getters = {
    sidebar: state => state.app.sidebar,
    language: state => state.app.language,
    size: state => state.app.size,
    device: state => state.app.device,
    token: state => state.user.token,
    loginName: state => state.user.loginName,
    name: state => state.user.name,
    roles: state => state.user.roles,
    setting: state => state.user.setting,
    permission_routers: state => state.permission.routers,
    addRouters: state => state.permission.addRouters,
    errorLogs: state => state.errorLog.logs,
    staffId: state => state.user.staffId,
    companyId: state => state.user.companyId,
    logo: state => state.user.companyLogo,
    companyName:state=>state.user.companyName
}
export default getters
